#ifndef _SITETEST_H_
#define _SITETEST_H_

#include <cppunit/Test.h>
#include <cppunit/TestAssert.h>
#include <cppunit/TestCaller.h>
#include <cppunit/TestFixture.h>
#include <cppunit/TestSuite.h>
#include <cppunit/Exception.h>
#include <cppunit/extensions/HelperMacros.h>

#include <cstdlib>

#include "site.h"

class SiteTest : public CppUnit::TestFixture {

	CPPUNIT_TEST_SUITE( SiteTest );
	CPPUNIT_TEST(testConstructorException);
	CPPUNIT_TEST(testGetDomainAndLink);	
	CPPUNIT_TEST(testAddProcessor);		
	CPPUNIT_TEST(testGetProcessorByName);
	CPPUNIT_TEST(testHasData);
	CPPUNIT_TEST(testSiteIsBusy);
	CPPUNIT_TEST_SUITE_END();
	
	private:
		Site *s1;
		Site *s2;
	public:
		void setUp();
		
		//Test Cases
		void testConstructorException();
		void testGetDomainAndLink();
		void testAddProcessor();
		void testGetProcessorByName();
		void testHasData();
		void testSiteIsBusy();
		///////////////
		
		
		void tearDown();

};

#endif //_SITETEST_H_
